/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import dao.DAOCour;
import dao.DAOExamen;
import dao.DAONote;
import dao.DAOPersonne;
import java.sql.SQLException;
import java.util.ArrayList;
import model.Cour;
import model.Examen;
import model.Note;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author Paul
 */
public class DAOExamtest extends DBConnectionTest{
    
    public DAOExamtest() throws SQLException {
  setUp();
        ArrayList<Examen> tab = new ArrayList<Examen>();
        DAOExamen d = new DAOExamen();
        tab=d.getExamFromCour(47);
        
        System.out.println(tab.get(0).getNomExamen());
    }

    

}